package com.zhkc.wisdom.common.configure;

import com.zhkc.wisdom.common.configure.config.ConfigureProperties;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;


@Slf4j
@Configuration
@EnableConfigurationProperties(ConfigureProperties.class)
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
public class ConfigureAutoConfiguration {

    @PostConstruct
    public void init() {
        log.info("init ConfigureAutoConfiguration...");
    }
}